package com.zeta.demo.seata.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zeta.api.model.DemoDTO;
import com.zeta.demo.seata.model.entity.DemoSeata2;

/**
 * Seata测试2 服务类
 *
 * @author AutoGenerator
 */
public interface IDemoSeata2Service extends IService<DemoSeata2> {

    /**
     * 测试抛异常
     *
     * @param demoDTO demo表数据
     * @return Boolean
     */
    Boolean tryException(DemoDTO demoDTO);
}
